/*
 * XML Type:  XVersion
 * Namespace: http://www.seedwill.com/xul/core
 * Java type: com.seedwill.xul.core.XVersion
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.core;


/**
 * An XML XVersion(@http://www.seedwill.com/xul/core).
 *
 * This is a complex type.
 */
public interface XVersion extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XVersion.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xversion7766type");
    
    /**
     * Gets the "majorRevision" element
     */
    short getMajorRevision();
    
    /**
     * Gets (as xml) the "majorRevision" element
     */
    org.apache.xmlbeans.XmlShort xgetMajorRevision();
    
    /**
     * Sets the "majorRevision" element
     */
    void setMajorRevision(short majorRevision);
    
    /**
     * Sets (as xml) the "majorRevision" element
     */
    void xsetMajorRevision(org.apache.xmlbeans.XmlShort majorRevision);
    
    /**
     * Gets the "minorRevision" element
     */
    short getMinorRevision();
    
    /**
     * Gets (as xml) the "minorRevision" element
     */
    org.apache.xmlbeans.XmlShort xgetMinorRevision();
    
    /**
     * True if has "minorRevision" element
     */
    boolean isSetMinorRevision();
    
    /**
     * Sets the "minorRevision" element
     */
    void setMinorRevision(short minorRevision);
    
    /**
     * Sets (as xml) the "minorRevision" element
     */
    void xsetMinorRevision(org.apache.xmlbeans.XmlShort minorRevision);
    
    /**
     * Unsets the "minorRevision" element
     */
    void unsetMinorRevision();
    
    /**
     * Gets the "major" element
     */
    int getMajor();
    
    /**
     * Gets (as xml) the "major" element
     */
    org.apache.xmlbeans.XmlInt xgetMajor();
    
    /**
     * Sets the "major" element
     */
    void setMajor(int major);
    
    /**
     * Sets (as xml) the "major" element
     */
    void xsetMajor(org.apache.xmlbeans.XmlInt major);
    
    /**
     * Gets the "minor" element
     */
    int getMinor();
    
    /**
     * Gets (as xml) the "minor" element
     */
    org.apache.xmlbeans.XmlInt xgetMinor();
    
    /**
     * True if has "minor" element
     */
    boolean isSetMinor();
    
    /**
     * Sets the "minor" element
     */
    void setMinor(int minor);
    
    /**
     * Sets (as xml) the "minor" element
     */
    void xsetMinor(org.apache.xmlbeans.XmlInt minor);
    
    /**
     * Unsets the "minor" element
     */
    void unsetMinor();
    
    /**
     * Gets the "build" element
     */
    int getBuild();
    
    /**
     * Gets (as xml) the "build" element
     */
    org.apache.xmlbeans.XmlInt xgetBuild();
    
    /**
     * True if has "build" element
     */
    boolean isSetBuild();
    
    /**
     * Sets the "build" element
     */
    void setBuild(int build);
    
    /**
     * Sets (as xml) the "build" element
     */
    void xsetBuild(org.apache.xmlbeans.XmlInt build);
    
    /**
     * Unsets the "build" element
     */
    void unsetBuild();
    
    /**
     * Gets the "revision" element
     */
    int getRevision();
    
    /**
     * Gets (as xml) the "revision" element
     */
    org.apache.xmlbeans.XmlInt xgetRevision();
    
    /**
     * True if has "revision" element
     */
    boolean isSetRevision();
    
    /**
     * Sets the "revision" element
     */
    void setRevision(int revision);
    
    /**
     * Sets (as xml) the "revision" element
     */
    void xsetRevision(org.apache.xmlbeans.XmlInt revision);
    
    /**
     * Unsets the "revision" element
     */
    void unsetRevision();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.core.XVersion newInstance() {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.core.XVersion newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.core.XVersion parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.core.XVersion parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.core.XVersion parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.core.XVersion parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.core.XVersion parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.core.XVersion parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.core.XVersion parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.core.XVersion) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
